//
//  RankDetailTableViewCell.m
//  MusicPlayer
//
//  Created by dllo on 15/5/22.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//
#define Width [UIScreen mainScreen].bounds.size.width
#define Height [UIScreen mainScreen].bounds.size.height
#import "RankDetailTableViewCell.h"
#import "NovelDataBase.h"
#import "NovelModel.h"
@implementation RankDetailTableViewCell

- (void)dealloc
{
    [_button release];
    [_nameLabel release];
    [_songLabel release];
    [super dealloc];
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        self.num = [[UILabel alloc] initWithFrame:CGRectMake(30/375.0*Width, 22/667.0*Height, 30/375.0*Width, 20/667.0*Height)];
        [self.contentView addSubview:self.num];
        [self.num release];
        self.nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(60/375.0*Width, 20/667.0*Height, 250/375.0*Width, 20/667.0*Height)];
        [self.contentView addSubview:self.nameLabel];
        [self.nameLabel release];
        self.songLabel = [[UILabel alloc] initWithFrame:CGRectMake(60/375.0*Width, 55/667.0*Height, 200/375.0*Width, 10/667.0*Height)];
        [self.contentView addSubview:self.songLabel];
        self.songLabel.textColor = [UIColor grayColor];
        [self.songLabel release];
        


    }
    return self;
}







- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
